package com.fjec.market.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjec.market.entity.InfoSpu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 011.商品spu表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-09-10
 */
public interface InfoSpuMapper extends BaseMapper<InfoSpu> {

    /**
     * 根据busiType获取商铺的评分
     *
     * @param typeList
     * @return
     */
    List<Map<String, Object>> getShopStarByTypeForSchedule(@Param("typeList") List<Integer> typeList);
}
